/**
 * 
 */
package com.facebookfetcher.main;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimerTask;

/**
 * @author piglet
 *
 */
public class FBAppFetchTask extends TimerTask {

	/* (non-Javadoc)
	 * @see java.util.TimerTask#run()
	 */
	@Override
	public void run() {
		if(!FacebookFetcher.getInstance().working())
		{
			//exit
			this.cancel();
		}

	}

}
